import os
import platform
import sys

if (os_version := platform.system()).lower() =="windows":
     path = os.getcwd()
else:
     path = os.path.dirname(sys.argv[0])